import request from '@/utils/request'

export const getNewsType = (params: any): any =>
  request.get('https://www.mxnzp.com/api/news/types/v2', { params })

export const getNewsList = (params: any): any =>
  request.get('https://www.mxnzp.com/api/news/list/v2', { params })

export const getNewsDetail = (params: any): any =>
  request.get('https://www.mxnzp.com/api/news/details/v2', { params })
